/*************************************
author:DeathGhost
website:http://www.deathghost.cn
**************************************/
@charset "UTF-8";
@import url(swiper3.07.min.css);

body {
    margin: 0
}

a:active, a:hover {
    outline: 0
}

button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0
}

button, html input[type=button], input[type=reset], input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

td, th {
    padding: 0
}

img {
    vertical-align: middle;
    border: 0
}

@-ms-viewport {
    width: device-width
}

html {
    font-size: 50px;
    -webkit-tap-highlight-color: transparent;
    height: 100%;
    min-width: 320px;
    overflow-x: hidden
}

body {
    font-family: "microsoft yahei";
    font-size: .28em;
    line-height: 1;
    color: #333;
    background-color: #f1f1f1;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.1
}

.h1 .small, .h1 small, .h2 .small, .h2 small, .h3 .small, .h3 small, .h4 .small, .h4 small, .h5 .small, .h5 small, .h6 .small, .h6 small, h1 .small, h1 small, h2 .small, h2 small, h3 .small, h3 small, h4 .small, h4 small, h5 .small, h5 small, h6 .small, h6 small {
    font-weight: 400;
    line-height: 1
}

.h1, .h2, .h3, h1, h2, h3 {
    margin-top: .28rem;
    margin-bottom: .14rem
}

.h1 .small, .h1 small, .h2 .small, .h2 small, .h3 .small, .h3 small, h1 .small, h1 small, h2 .small, h2 small, h3 .small, h3 small {
    font-size: 65%
}

.h4, .h5, .h6, h4, h5, h6 {
    margin-top: .14rem;
    margin-bottom: .14rem
}

.h4 .small, .h4 small, .h5 .small, .h5 small, .h6 .small, .h6 small, h4 .small, h4 small, h5 .small, h5 small, h6 .small, h6 small {
    font-size: 75%
}

.h1, h1 {
    font-size: .364rem
}

.h2, h2 {
    font-size: .2996rem
}

.h3, h3 {
    font-size: .238rem
}

.h4, h4 {
    font-size: .175rem
}

.h5, h5 {
    font-size: .14rem
}

.h6, h6 {
    font-size: .119rem
}

h6 {
    margin-top: 0;
    margin-bottom: 0
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit
}

a {
    color: "#666";
    text-decoration: none;
    outline: 1
}

a:focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px
}

a.react, label.react {
    display: block;
    color: inherit;
    height: 100%
}

a.react.react-active, a.react:active, label.react:active {
    background: rgba(0, 0, 0, .1)
}

ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

hr {
    margin-top: .28rem;
    margin-bottom: .28rem;
    border: 0;
    border-top: 1px solid #DDD8CE
}

h6, p {
    line-height: 1.41;
    text-align: justify;
    margin: -.2em 0;
    word-break: break-all
}

small, weak {
    color: #666
}

::-webkit-input-placeholder {
    color: #999;
    line-height: normal;
}

:-moz-placeholder {
    color: #999;
    line-height: normal;
}

::-moz-placeholder {
    color: #999;
    line-height: normal;
}

@font-face {
    font-family: 'freshregular';
    src: url('font/fresh-webfont.eot');
    src: url('font/fresh-webfont.eot?#iefix') format('embedded-opentype'),
    url('font/fresh-webfont.woff2') format('woff2'),
    url('font/fresh-webfont.woff') format('woff'),
    url('font/fresh-webfont.ttf') format('truetype'),
    url('font/fresh-webfont.svg#freshregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*other public*/
.ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.iconfont {
    font-family: 'freshregular';
}

.center {
    text-align: center;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.more_btn {
    display: block;
    width: 40%;
    height: .65rem;
    line-height: .65rem;
    text-align: center;
    background: #f8f8f8;
    border-radius: 25px;
    background: -webkit-gradient(linear, left top, left bottom, from(white), color-stop(0.5, #f5f5f5), to(rgb(248, 248, 248)));
    border: 1px #efefef solid;
    margin: .23rem auto;
    color: #d8d8d8;
}

.more_btn:after {
    content: "v";
    font-family: 'freshregular';
    margin-left: .05rem;
}

.backIcon {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    padding: 0 .3rem;
    color: white;
    font-size: .4rem;
}

.topCart {
    position: absolute;
    right: 0;
    top: 0;
    display: block;
    height: 1rem;
    color: white;
    padding: 0 .3rem;
}

.topCart:before {
    content: "G";
    font-family: 'freshregular';
    font-size: .6rem
}

.topCart em {
    display: block;
    position: absolute;
    top: .15rem;
    right: 12%;
    width: .36rem;
    height: .36rem;
    line-height: .36rem;
    text-align: center;
    font-size: .2rem;
    font-style: normal;
    border-radius: 50%;
    background: red;
}

.setIcon {
    position: absolute;
    right: 0;
    top: 0;
    display: block;
    color: white;
    padding: 0 .3rem;
    font-size: .5rem;
}

header {
    height: 1rem;
    line-height: 1rem;
    background: #50B4F9;
    position: relative;
}

header h1 {
    margin: 0;
    text-align: center;
    width: 50%;
    margin: 0 auto;
    height: 1rem;
    line-height: 1rem;
    color: white;
}

header .logoIcon {
    font-family: 'freshregular';
    font-size: .8rem;
}

header .location {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    color: white;
    padding: 0 .25rem;
}

header .rt_searchIcon {
    font-family: 'freshregular';
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    padding: 0 .3rem;
    color: white;
    font-size: .5rem;
}

/*slide*/
#slide {
    height: 2.5rem;
    overflow: hidden;
    position: relative;
}

#slide .swiper-slide {
    text-align: center;
    height: 3rem;
}

#slide .swiper-slide img {
    width: 100%;
    max-width: 100%;
    height: 3rem;
}

#slide .pagination {
    position: absolute;
    z-index: 20;
    bottom: 5px;
    width: 100%;
    text-align: center;
    right: 0;
}

#slide .swiper-pagination-bullet {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background: grey;
    margin: 0 2px;
    opacity: 0.8;
    cursor: pointer;
}

#slide .swiper-pagination-bullet-active {
    background: #64caff;
}

nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 1rem;
    line-height: 1rem;
    background: #f8f8f8;
    border-top: 1px #f4f4f4 solid;
    display: box;
    display: -webkit-box;
    display: -moz-box;
}

nav a {
    display: block;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    text-align: center;
    color: grey;
    line-height: 1.2;
}

nav a:before {
    display: block;
    font-family: 'freshregular';
    font-size: .5rem;
}

nav .homeIcon:before {
    content: "H";
}

nav .categoryIcon:before {
    content: "C";
}

nav .cartIcon:before {
    content: "G";
}

nav .userIcon:before {
    content: "U";
}

.categoryLiIcon {
    overflow: hidden;
    background: white;
    margin: .25rem 0;
    padding-bottom: .3rem;
}

.categoryLiIcon li {
    float: left;
    width: 33%;
    overflow: hidden;
    margin-top: .25rem;
}

.categoryLiIcon li a {
    display: block;
    text-align: center;
}

.categoryLiIcon li a img {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    margin: .1rem 0;
}

.categoryLiIcon li a em {
    display: block;
    font-style: normal;
    color: #666;
}

.tab_proList {
    padding: 0 3%;
    overflow: hidden;
    background: white;
    margin: 0;
}

.tab_proList dt {
    padding: .1rem 0;
    height: .65rem;
    line-height: .65rem;
    display: box;
    display: -webkit-box;
    display: -moz-box;
    border-bottom: 1px #d2d2d2 solid;
}

.tab_proList dt a {
    display: block;
    box-flex: 1;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    border-right: 1px #d2d2d2 solid;
    text-align: center;
}

.tab_proList dt a:last-child {
    border: none;
}

.tab_proList dt .currStyle {
    color: #ff7d00;
}

.tab_proList dd {
    margin: .23rem 0;
}

.tab_proList dd li {
    overflow: hidden;
    border-bottom: 1px #f1f1f1 dotted;
    padding: .15rem 0;
}

.tab_proList dd li:last-child {
    margin: 0;
}

/*goodsList*/
.goodsPic {
    width: 2rem;
    height: 2rem;
    display: block;
    float: left;
    text-align: center;
    overflow: hidden;
    border: 1px #f8f8f8 solid;
    border-radius: 2px;
}

.goodsPic img {
    width: auto;
    max-width: 100%;
    height: 2rem;
}

.goodsInfor {
    margin-left: 2.3rem;
    position: relative;
}

.goodsInfor h2 a {
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    color: #333;
}

.goodsInfor p {
    margin: .2rem 0;
}

.goodsInfor p .price {
    color: #64ab5b;
}

.goodsInfor p .price:before {
    content: "￥";
}

.goodsInfor p del {
    color: grey;
}

.goodsInfor p del:before {
    content: "原价：￥"
}

.goodsInfor .addToCart {
    position: absolute;
    top: 30%;
    right: 3%;
    font-family: 'freshregular';
    font-size: .65rem;
    color: #f0c600;
}

/*hover cart*/
.hoverCart {
    background: #d2d2d2;
    width: .75rem;
    height: .75rem;
    box-shadow: 0 0 2px #d2d2d2;
    line-height: .75rem;
    text-align: center;
    border-radius: 50%;
    position: fixed;
    bottom: 1.2rem;
    right: 3%;
}

.hoverCart a {
    display: block;
    width: .32rem;
    height: .32rem;
    text-align: center;
    line-height: .32rem;
    position: absolute;
    top: 0;
    right: 0;
    background: red;
    border-radius: 50%;
    color: white;
    font-size: .2rem;
}

.hoverCart:before {
    font-family: 'freshregular';
    content: "G";
    color: white;
    font-size: .5rem;
}

.show {
    width: .9rem;
    height: .9rem;
    border-radius: .25rem;
    border: 1px solid #C1C1C1;
    margin: .1rem auto;
}

.show h1 {
    color: black;
}

.tips {
    background-color: white;
    margin: .25rem 0 0 0;
    border-bottom: 1px solid #C1C1C1;
    height: .7rem;
}

.tips h2 {
    margin: .3rem;
    line-height: .7rem;
    color: 666;
}

.dk_button {
    text-align: center;
    padding: .3rem;
    background-color: #fff;
}

.dk_button .btn {
    width: 2rem;
    height: 2rem;
    background-color: #50B4F9;
    border-radius: 50%;
    margin: 0 auto;
}

.dk_button h2 {
    color: #fff;
    font-size: 20px;
    line-height: 2rem;
    margin: 0px;
}

.tj {
    color: #fff;
    font-size: 10px;
    background-color: #666;
    padding: .1rem .2rem;
    border-radius: .2rem;
}







